<template>
    <div>
        <i-switch v-model="switch1" @on-change="change"></i-switch>
    </div>
</template>
<script>
export default {
  name: 'Switch01',
  data () {
    return {
      switch1: false
    }
  },
  methods: {
    change (status) {
      this.$Message.info('开关状态：' + status)
    }
  }
}
</script>
